﻿<Page x:Class="ScoreMS.Views.PersonalCourseView"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="300" d:DesignWidth="618"
	Title="PersonalCourseView">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="72" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <TextBlock Text="已带课程列表" TextAlignment="Center" FontSize="24" Margin="0,26,0,0"></TextBlock>
        <TextBlock FontSize="16" Margin="399,44,22,0" Name="lblteacher" Visibility="Collapsed">
            <Run Text="教师："></Run>
            <Run Text="xxx" Name="lblteacher_id"></Run>
        </TextBlock>
        <DataGrid Grid.Row="1" AutoGenerateColumns="False" HorizontalAlignment="Left" Name="dataGrid1" VerticalAlignment="Top">
            <DataGrid.Columns>
                <DataGridTextColumn Header="课程编号" Width="*" Binding="{Binding course_id}"/>
                <DataGridTextColumn Header="课程名称" Width="*" Binding="{Binding course_name}"/>
                <DataGridTextColumn Header="学分" Width="*" Binding="{Binding course_points}"/>
                <DataGridTextColumn Header="课程类型" Width="*" Binding="{Binding course_type}"/>
                <DataGridTextColumn Header="学生类型" Width="*" Binding="{Binding course_stutype}"/>
                <DataGridTextColumn Header="学时X" Width="*" Binding="{Binding course_hours_x}"/>
                <DataGridTextColumn Header="学时Y" Width="*" Binding="{Binding course_hours_y}"/>
            </DataGrid.Columns>
        </DataGrid>
    </Grid>
</Page>
